# -*- coding: utf-8 -*-#
#-------------------------------------------------------------------------------
# 建立者:        Young  
# Name:         demo6.10
# Description:
# Author:       $赵怡蕾
# Date:         2019/2/15
#-------------------------------------------------------------------------------

dict = {'c':10,'a':40,'b':12,'x':44}
dict['1'] = 3
dict['5'] = 3
# 获取key为'b'的值
print(dict.pop('b'))
# 弹出字典中所有的元素
for i in range(len(dict)):
    print(dict.popitem())